﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using ComponentFactory.Krypton.Toolkit;
using Taurus.Platform.DTO;
using Taurus.Platform.BLL;


namespace Taurus.Platform.UI
{
    /// <summary>
    /// 显示好友列表，好友从配置文件中读取
    /// </summary>
    public partial class FriendDialog : ComponentFactory.Krypton.Toolkit.KryptonForm
    {

        private FriendBll _fb;
        private UserAccount _myAccount;

        public FriendDialog(UserAccount myAccount)
            : base()
        {
            myFriendUI1 = new Taurus.Platform.UI.MyFriendUI(myAccount);
            InitializeComponent();
            _myAccount = myAccount;
            _fb = new FriendBll(_myAccount);
        }

        public UserAccount SelectFriend
        {
            get
            {
                return myFriendUI1.SelectFriend;
            }
        }       

        private void FriendDialog_Load(object sender, EventArgs e)
        {
            
        }

        
    }
}